package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderMailFileDao;
import com.bdzl.biz.service.OrderMailFileService;
import com.bdzl.pub.entity.loan.OrderMailFileDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class OrderMailFileServiceImpl implements OrderMailFileService {
	@Autowired
	private OrderMailFileDao orderMailFileDao;

	@Override
	public OrderMailFileDO get(Integer omfId){
		return orderMailFileDao.get(omfId);
	}

	@Override
	public List<OrderMailFileDO> list(Map<String, Object> map){
		return orderMailFileDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return orderMailFileDao.count(map);
	}

	@Override
	public int save(OrderMailFileDO orderMailFile){
		return orderMailFileDao.save(orderMailFile);
	}

	@Override
	public int update(OrderMailFileDO orderMailFile){
		return orderMailFileDao.update(orderMailFile);
	}

	@Override
	public int remove(Integer omfId){
		return orderMailFileDao.remove(omfId);
	}

	@Override
	public int batchRemove(Integer[] omfIds){
		return orderMailFileDao.batchRemove(omfIds);
	}

	@Override
	public OrderMailFileDO getByFileId(String omfOdr, Integer fileId) {
		return orderMailFileDao.getByFileId(omfOdr,fileId);
	}

}
